/**
 * @file tc_ebike.c
 * @brief 
 * @author  ()
 * @version 1.0
 * @date 2024-12-30
 * 
 * @copyright Copyright (C) 2019 Queclink Wireless Solutions (ShenZhen) Co., Ltd. All Rights Reserved.
 * 
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version <th>Author  <th>Description
 * <tr><td>2024-12-30 <td>1.0     <td>     <td>内容
 * </table>
 */

#include "tc_ebike.h"
#ifndef NDEBUG

#ifndef LOG_TAG
#include "global.h"
#define LOG_TAG "TC"
#endif
#include "elog.h"


int32_t tc_ebike_step = 0;
/**
 * @brief 每个测试用例跑测一分钟，用于测试基础功能
 */
void testcase_ebike(void)
{
    switch (tc_ebike_step)
    {
        case 0: /* nothing */
            break;

        case 1: { /* ebike power on */
        }break;

        case 2: { /* ebike main battery output */
        }break;

        case 3: { /* ebike gear change */
        }break;

        case 4: { /* ebike speed running */
        }break;

        case 5: { /* ebike speed zero */
        }break;

        case 6: { /* ebike poweroff */
        }break;
        
        default:
            break;
    }
}


#include "lettershell/shell.h"
SHELL_EXPORT_VAR(SHELL_CMD_PERMISSION(0)|SHELL_CMD_TYPE(SHELL_TYPE_VAR_INT), tc_ebike_step, &tc_ebike_step, var for testcase ebike);


#endif